<?php
header("Content-Type: text/html; charset=utf-8");
?>

<head>
  <title>Make a Myspell/Hunspell Dictionary Extension</title>

<body>
  <h1>Make a Myspell/Hunspell Dictionary Extension</h1>

  <form method="POST" enctype="multipart/form-data" action="post.php">
    <p><label for="dicfile">.dic file</label> 
    <input type="file" id="dicfile" name="dicfile"></p>

    <p><label for="afffile">.aff file</label>
    <input type="file" id="afffile" name="afffile"></p>

    <p><label for="type">Dictionary type:</label>
    <select id="type" name="type">
      <option value="myspell">MySpell</option>
      <option value="hunspell">HunSpell</option>
    </select></p>

    <p><label for="langcode">Language code (en-US):</label>
    <input type="text" id="langcode" name="langcode" size="6"></p>

    <p><label for="desc">Description (localized):</label>
    <input type="text" id="desc" name="desc" size="30"></p>

    <p><label for="version">Version:</label>
    <input type="text" id="version" name="version" size="6"></p>

    <p><input type="submit" value="Make it!"></p>
  </form>
